<?php
$fname = $_FILES['file']['name'];
if ($fname != '') {
    $tmp_fname = $_FILES['file']['tmp_name'];
//    $rndNum=mt_rand(0,100000);
//            $fname="($rndNum)$fname";
//            $fname1=iconv("UTF-8", "GB2312", $fname);
    move_uploaded_file($tmp_fname, "../assets/fmwimages/202106/" . $_GET['filename']);
//            $fsize=round($_FILES['f'.$i]['size']/1024,2)."kB";
//            $attachment=$attachment.$fname."($fsize);";
}
?>
